FROM @dockerBuildImage@
LABEL maintainer="nancal"

WORKDIR /app

ADD code/@folder@/lib.tar /app/lib
ADD code/@folder@/target-jar /app

ENV TZ "Asia/Shanghai"
ENV JAVA_OPTS "@java-opts@"
ENV JAVA_SKYWLKING_OPT ""
ENV PROFILE "@profiles@"
ENV JAVA_ARGS "@java-args@"
ENV APP_GROUP "@namespace@"
ENV APP_NAME "@appName@"


RUN chmod a+x /app/*.sh

CMD /app/start-java.sh
